package test 
{
	import flash.display.Sprite;
	import flash.system.ApplicationDomain;
	import flash.system.LoaderContext;
	import lynch.net.loading.ResourceLoader;
	import starling.core.Starling;
	
	/**
	 * ...
	 * @author 小痛
	 */
	public class ApplicationTese 
	{
		
		public function ApplicationTese() 
		{
			ResourceLoader.loadSWFs(Vector.<String>(["StarlingTry.swf"]), 
				onSwfComplate, {context:null});
		}
		
		private function onSwfComplate(data:Array):void 
		{
			Starling.current.nativeStage.addChild(data[0]);
			var arr:Array = [ApplicationDomain.currentDomain, data[0].loaderInfo.applicationDomain, data[0].loaderInfo.applicationDomain.parentDomain];
		}
	}

}